/*  1:   */ package org.jetbrains.debugger;
/*  2:   */ 
/*  3:   */

import com.intellij.openapi.util.AsyncResult;
import com.intellij.openapi.util.UserDataHolderBase;
import com.intellij.util.Url;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.debugger.sourcemap.SourceMap;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */ 
/* 10:   */ public abstract class ScriptBase
/* 11:   */   extends UserDataHolderBase
/* 12:   */   implements Script
/* 13:   */ {
/* 14:   */   private volatile AsyncResult<String> a;
/* 15:   */   private final Url b;
/* 16:   */   protected final int line;
/* 17:   */   protected final int column;
/* 18:   */   protected final int endLine;
/* 19:   */   protected final Script.Type type;
/* 20:   */   private SourceMap c;
/* 21:   */   
/* 22:   */   protected ScriptBase(Script.Type paramType, @NotNull Url paramUrl, int paramInt1, int paramInt2, int paramInt3)
/* 23:   */   {
/* 24:24 */     this.type = paramType;
/* 25:25 */     this.b = paramUrl;
/* 26:26 */     this.line = paramInt1;
/* 27:27 */     this.column = paramInt2;
/* 28:28 */     this.endLine = paramInt3;
/* 29:   */   }
/* 30:   */   
/* 31:   */   @NotNull
/* 32:   */   public Url getUrl()
/* 33:   */   {
/* 34:34 */     Url tmp4_1 = this.b;
/* 35:34 */     if (tmp4_1 == null) {
/* 36:34 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/debugger/ScriptBase", "getUrl" }));
/* 37:   */     }
/* 38:34 */     return tmp4_1;
/* 39:   */   }
/* 40:   */   
/* 41:   */   @Nullable
/* 42:   */   public String getFunctionName()
/* 43:   */   {
/* 44:40 */     return null;
/* 45:   */   }
/* 46:   */   
/* 47:   */   @Nullable
/* 48:   */   public SourceMap getSourceMap()
/* 49:   */   {
/* 50:46 */     return this.c;
/* 51:   */   }
/* 52:   */   
/* 53:   */   public void setSourceMap(@Nullable SourceMap paramSourceMap)
/* 54:   */   {
/* 55:51 */     this.c = paramSourceMap;
/* 56:   */   }
/* 57:   */   
/* 58:   */   public Script.Type getType()
/* 59:   */   {
/* 60:56 */     return this.type;
/* 61:   */   }
/* 62:   */   
/* 63:   */   public int getLine()
/* 64:   */   {
/* 65:61 */     return this.line;
/* 66:   */   }
/* 67:   */   
/* 68:   */   public int getColumn()
/* 69:   */   {
/* 70:66 */     return this.column;
/* 71:   */   }
/* 72:   */   
/* 73:   */   public int getEndLine()
/* 74:   */   {
/* 75:71 */     return this.endLine;
/* 76:   */   }
/* 77:   */   
/* 78:   */   public String toString()
/* 79:   */   {
/* 80:76 */     return "[url=" + getUrl() + ", lineRange=[" + getLine() + ';' + getEndLine() + "]]";
/* 81:   */   }
/* 82:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.debugger.ScriptBase

 * JD-Core Version:    0.7.0.1

 */